﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Sec_scan漏洞扫描系统
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            // 关闭控件检查
            Control.CheckForIllegalCrossThreadCalls = false;
            StartPosition = FormStartPosition.CenterScreen;
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void 退出系统ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // 关闭软件
            this.Close();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            // 漏洞扫描先进行弹窗
            Sec_New.LoopScan loop = new Sec_New.LoopScan();
            loop.StartPosition = FormStartPosition.CenterScreen;
            loop.ShowDialog();
        }
    }
}
